package com.xls.box2023.adapter;

import android.content.Context;
import android.view.ViewGroup;
import android.widget.TextView;

import com.lzz.bottomencapsulation.holder.MvpRVViewHolder;
import com.xls.box2023.R;
import com.xls.box2023.entity.YouXiXiaoHaoJinBiEntity;

public class YouXiXiaoHaoJinBiViewHolder extends MvpRVViewHolder<YouXiXiaoHaoJinBiEntity> {
    private TextView jilu_time;
    private TextView jilu_jibi_num;
    private TextView jilu_jibi_name;

    public YouXiXiaoHaoJinBiViewHolder(Context context, ViewGroup p) {
        super(R.layout.item_youxixiaohaojinbijilu, context, p);
    }

    @Override
    public void initView() {

        jilu_time = itemView.findViewById(R.id.jilu_time);
        jilu_jibi_num =itemView. findViewById(R.id.jilu_jibi_num);
        jilu_jibi_name = itemView.findViewById(R.id.jilu_jibi_name);

        jilu_time.setText(viewData.getCreateTime());
        jilu_jibi_num.setText(viewData.getCoins()+" 金币");
        jilu_jibi_name.setText(viewData.getAppName()+"");
    }
}
